<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\MedicineSnapshot
 *
 * @property int $id 自增id
 * @property int $merchant_medicine_id 药品id
 * @property int $merchant_id 商家id
 * @property string $name 药品名称
 * @property string $desc 描述
 * @property string $upc 条形码
 * @property string $sku_ssn 内部库存编号
 * @property string $approval_number 批准文号
 * @property string $specification 规格
 * @property int $thumb_id 商品封面图
 * @property float $selling_price 销售价格
 * @property int $stock 库存
 * @property int $classify_id
 * @property string $manufacturer 生产厂商名称
 * @property string $manufacturer_address 生产厂商地址
 * @property string $manufacturer_contact 生产厂商联系方式
 * @property string $electronic_regulatory_code 电子监管码
 * @property string|null $usage_and_dosage 用法用量
 * @property string|null $indications 适应症
 * @property string $adapt_to_the_crowd 适应人群
 * @property string $component 成分
 * @property string|null $adverse_reactions 不良反应
 * @property string|null $contraindications 禁忌
 * @property string|null $precautions 注意事项
 * @property string|null $interaction 药物相互作用
 * @property string|null $medication_for_children 儿童用药
 * @property string|null $medication_for_pregnancy_x_lactation 妊娠与哺乳用药
 * @property string|null $medication_for_aged 老年人用药
 * @property string $properties 性状
 * @property string $packing 包装
 * @property string $dosage_form 剂型
 * @property string $storage 贮藏
 * @property string|null $pharmacological_action 药理作用
 * @property string $expiry_date 有效期
 * @property string|null $detail 详情（富文本）
 * @property int $is_shop 是否上架，0：否 1：是
 * @property int $sort 商品排序，整数，数字越低排序越前
 * @property string|null $other_attribute_array 其他属性数组（json_encoded）
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\MedicineSnapshot onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereAdaptToTheCrowd($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereAdverseReactions($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereApprovalNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereClassifyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereComponent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereContraindications($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereDetail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereDosageForm($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereElectronicRegulatoryCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereExpiryDate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereIndications($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereInteraction($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereIsShop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereManufacturer($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereManufacturerAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereManufacturerContact($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereMedicationForAged($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereMedicationForChildren($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereMedicationForPregnancyXLactation($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereMerchantId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereMerchantMedicineId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereOtherAttributeArray($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot wherePacking($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot wherePharmacologicalAction($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot wherePrecautions($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereProperties($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereSellingPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereSkuSsn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereSpecification($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereStorage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereUpc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MedicineSnapshot whereUsageAndDosage($value)
 * @method static \Illuminate\Database\Query\Builder|\App\MedicineSnapshot withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\MedicineSnapshot withoutTrashed()
 * @mixin \Eloquent
 */
class MedicineSnapshot extends Model
{
    protected $table='medicine_snapshot';
    use SoftDeletes;
}
